package com.ydgk.Test;

import com.ydgk.bean.Bill;
import com.ydgk.dao.BillDao;
import org.junit.Before;
import org.junit.Test;

import java.util.List;

public class BillDaoTest {
    private BillDao billDao;
    @Before
    public void init(){
        billDao=new BillDao();
    }

    @Test
    public void findAllTest(){
        List<Bill> list=billDao.paging(1);
        for (Bill bill : list) {
            System.out.println(bill);
        }
    }
}
